<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">

    <title>金币变化列表</title>
    <link href="/static/admin/css/public/style.css" rel="stylesheet">
    <link href="/static/admin/css/public/style-responsive.css" rel="stylesheet">
    <link href="/static/admin/css/public/loading.css" rel="stylesheet">
    <link rel="stylesheet" href="/static/admin/css/public/plugs/bootstrap-datetimepicker.min.css" />
    <script src="/static/admin/js/public/html5shiv.js"></script>
    <script src="/static/admin/js/public/plugs/respond.min.js"></script>
</head>

<body class="sticky-header" style="font-family: '微软雅黑';">
<!-- 页面位置 -->
<div class="page-heading">
    <ul class="breadcrumb" style="margin-top: 20px;">
        <span style="font-weight: bold;">位置：</span>
        <li>玩家管理</li>
        <li class="active"> 用户金币变化记录 </li>
    </ul>
    <hr />
</div>
<!-- 页面位置 -->
<div class="wrapper">
    <div class="form-inline form-group">
        <form style="display: inline;">
            用户推广号:
            <input class="form-control input-sm" style="width: 120px;" type="text" id="gameId" value="" onkeyup="value=value.replace(/[^\d]/g,'');" />
            时间:
            <div class='input-group input-group-sm date' id='bt'>
                <span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
                <input type='text' id="begin_time" class="form-control" readonly="readonly" />
                <span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span>
            </div>
            <span>-</span>
            <div class='input-group input-group-sm date' id='et'>
                <span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
                <input type='text' id="end_time" class="form-control" readonly="readonly" />
                <span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span>
            </div>
            游戏房间:
            <input class="form-control input-sm" style="width: 120px;" type="text" id="room" />
            <input type="reset" id="reset" style="display: none;" />
        </form>
        &nbsp;&nbsp;&nbsp;&nbsp;
        <button class="btn btn-sm btn-success" onclick="loadDatas('search')">开始查询</button>
        <button class="btn btn-sm btn-success" style="margin-left: 10px;" onclick="findAll('search')">显示所有</button>
        <span class="fa fa-arrow-circle-left return" title="返回上一页" onclick="history.go(-1)"></span>;

    </div>
    <div class="row" style="margin-bottom: 88px;">
        <div class="col-sm-12">
            <section class="panel">
                <div class="panel-body">
                    <table class="table table-bordered table-hover table-condensed" style="margin-bottom: 5px;">
                        <thead>
                        <tr style="background-color: #F9F9F9;">
                            <th width="50%" style="text-align: center;">房间</th>
                            <th style="text-align: center;">总输赢</th>
                        </tr>
                        </thead>
                        <tbody id="roomZsyDataTablebody">
                        <tr>
                            <td width="50%" style="text-align: center;" id="loginIp">——</td>
                            <td style="text-align: center;" id="ipCount">——</td>
                        </tr>
                        </tbody>
                    </table>
                    <div class="dataTable_info">
                        <div class="dataTable_heads" style="font-weight: inherit; width: 590px; float: left;">
                            <span>推广号:<font id="tgh" style="color: #008000; font-weight: bold;">-</font></span>
                            <span>昵称:<font id="nickName" style="color: #008000; font-weight: bold;">-</font></span>
                            <span>userId:<font id="userid">-</font></span>
                            <span>金币总变动:<font class="nums" id="zbd">0</font></span>
                        </div>
                        <div class="dataTable_page" style="margin: 0px 0px 6px 0px; width: 560px; float: right;">
                            <span>共<span id="count" style="margin: 0;">0</span>条记录</span>
                            <span>每页40条</span>
                            <span>页码:<span style="margin: 0;" id="nowPage">1</span>/<span id="allPage">1</span><input type="hidden" id="page" value="1" /></span>
                            <span id="shang"><a href="javascript:void();" onclick="previousPage()">上一页</a></span>
                            <span id="xia"><a href="javascript:void();" onclick="nextPage()">下一页</a></span>
                            转到<input class="form-inline" type="text" id="pageIpu"
                                     style="height: 25px; width: 50px; margin-left: 10px;"
                                     onKeyUp="this.value=this.value.replace(/\D/g,'')"
                                     onafterpaste="this.value=this.value.replace(/\D/g,'')" />
                            页
                            <button type="button" class="btn btn-sm btn-primary" id="go" onclick="goPage()">go</button>
                        </div>
                    </div>
                    <table class="table table-hover table-bordered table-condensed general-table">
                        <thead>
                        <tr style="background-color: #F9F9F9;">
                            <th colspan="5" style="text-align: center;">玩家金币变动记录</th>
                        </tr>
                        <tr style="background-color: #F9F9F9;">
                            <th>时间</th>
                            <th>描述</th>
                            <th>金币变化</th>
                            <th>变动前金币</th>
                            <th>变动后金币</th>
                        </tr>
                        </thead>
                        <tbody id="databody">
                        <tr>
                            <td colspan="5" align="center">
                                {empty name="gameid"}
                                    数据正在加载中，请稍后~
                                {else /}
                                    <font color="red">请输入推广号，点击  "开始查询" 加载数据！</font>
                                {/empty}
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </section>
        </div>
    </div>
</div>

<div class="sk-circle" id="load" {empty name="gameid"}{else /}style='display:none;'{/empty}>
<div class="sk-circle1 sk-child"></div>
<div class="sk-circle2 sk-child"></div>
<div class="sk-circle3 sk-child"></div>
<div class="sk-circle4 sk-child"></div>
<div class="sk-circle5 sk-child"></div>
<div class="sk-circle6 sk-child"></div>
<div class="sk-circle7 sk-child"></div>
<div class="sk-circle8 sk-child"></div>
<div class="sk-circle9 sk-child"></div>
<div class="sk-circle10 sk-child"></div>
<div class="sk-circle11 sk-child"></div>
<div class="sk-circle12 sk-child"></div>
</div>

<script type="text/javascript" src="/static/admin/js/public/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="/static/admin/js/public/plugs/bootstrap.min.js"></script>
<script type="text/javascript" src="/static/admin/js/public/plugs/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript" src="/static/admin/js/public/plugs/bootstrap-datetimepicker.zh-CN.js"></script>
<script type="text/javascript" src="/static/admin/js/public.js"></script>
<script type="text/javascript" src="/static/admin/js/player/playerInfo/playerGoldChangeList.js"></script>
{empty name="gameid"}
{else /}
<script type="text/javascript">$(function(){loadDatas();})</script>
{/empty}

<script type="text/javascript">
        function findAll(s){
            $("#load").css("display","block");

            $("#reset").click();

            loadDatas(s);
        }
</script>

</body>
</html>
